<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">会员信息</h1>
</div>
<!-- toaster directive -->
<toaster-container toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
<div class="wrapper-md" ng-controller="memberInfoCtrl">
        <form class="form-horizontal" name="myForm" novalidate>
            <div class="form-group">
                <label class="col-sm-3 control-label text-left">姓名</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control rounded" ng-model="userInfo.name" required>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label text-left">性别</label>
                <div class="col-sm-4">
                    <div class="radio">
                        <label>
                            <input type="radio" name="optionsRadios" ng-model="userInfo.sex" value="0" required>男
                        </label>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <label>
                            <input type="radio" name="optionsRadios" ng-model="userInfo.sex" value="1" required>女
                        </label>
                    </div>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label text-left">电话</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control rounded" ng-model="userInfo.phone" ng-pattern="/^1[3|4|5|8][0-9]\d{4,8}$/" required>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label text-left">邮箱</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control rounded" ng-model="userInfo.email" ng-pattern="/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/" required>
                </div>
            </div>


            <div class="form-group">
                <label class="col-sm-3 control-label text-left">备注</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control rounded" ng-model="userInfo.remarks" required>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label text-left">基金类型</label>
                <div class="col-sm-4">
                    <select class="form-control" ng-model="userInfo.company" required>
                        <option value="2">课程</option>
                    </select>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label text-left">地址</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control rounded" ng-model="userInfo.address" required>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label text-left">身份证号</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control rounded" ng-model="userInfo.idcard" ng-pattern="/(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{5}\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{2}$)/" required>
                </div>
            </div>

            <div class="form-group">

                <div class="col-sm-4 col-sm-offset-3">
                    <button class="btn m-b-xs w-xs btn-success  btn-rounded" ng-disabled="myForm.$invalid || btn_disabled" ng-click="editInfo()">提交</button>
                </div>
            </div>

        </form>




</div>